package com.icebergteam.resumemaster;

/*import java.io.IOException;

import android.net.Uri;

import com.itextpdf.text.BaseColor;
import com.itextpdf.text.DocumentException;
import com.itextpdf.text.Font;
import com.itextpdf.text.FontProvider;
import com.itextpdf.text.pdf.BaseFont;

public class ResumeFontFactory implements FontProvider {
    public Font getFont(String fontname,
            String encoding, boolean embedded, float size,
            int style, BaseColor color) {
            BaseFont bf;
            try {
                            bf = BaseFont.createFont(Uri.parse("android.resource://com.icebergteam.resumemaster/res/raw/times.ttf").getEncodedPath(), 
                                            "Identity-H", BaseFont.EMBEDDED);
                    } catch (DocumentException e) {
                            e.printStackTrace();
                            return new Font();
                    } catch (IOException e) {
                            e.printStackTrace();
                            return new Font();
                    }
        return new Font(bf, size);
    }

    public boolean isRegistered(String fontname) {
        return false;
    }
}*/